package com.hy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hy.entity.pojo.HyRole;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HyRoleMapper extends BaseMapper<HyRole> {
    List<HyRole> findHyRoleByUserId(Integer userId);//根据用户ID查找用户的角色
}
